/********************************************************************************
 *      Copyright:  (C) 2021 qinlinqing<1783257385@qq.com>
 *                  All rights reserved.
 *
 *       Filename:  socket.h
 *    Description:  This head file 
 *
 *        Version:  1.0.0(22/12/21)
 *         Author:  qinlinqing <1783257385@qq.com>
 *      ChangeLog:  1, Release initial version on "22/2/21 07:01:57"
 *                 
 ********************************************************************************/

#ifndef  _SOCKET_H_
#define  _SOCKET_H_

#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <netdb.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/un.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <linux/sockios.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <errno.h>
#include <sys/epoll.h>
#include <sys/resource.h>

extern int socket_connect(char *serv_ip, int serv_port);

extern int socket_listen(char *listen_ip, int listen_port);

extern void set_socket_rlimit(void);





#endif
